package com.md.api.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
@Data
public class MotOrder {

    private Integer id;

    private String motNo;

    private Integer motType;
    private String motTypeStr;

    private Integer isWriteOff;

    private String carId;

    private String userId;

    private String nickName;
    private String siteId;

    private String serviceId;
    private String serviceName;
    private String siteName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date arrivalTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date pickUpTime;

    private String arrivalTimeStr;
    private String pickUpTimeStr;

    private String pickUpAdderss;

    private String contactPhone;

    private Double commission;

    private String couponRecordId;

    private Double pickUpFee;

    private Double totalMoney;

    private Double discountMoney;

    private String discountStr;

    private String predetermineDetailId;

    private Double actualPay;

    private Integer status;
    private String statusStr;
    private Integer hasEvaluate;

    private String failReason;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date payTime;
    private String payTimeStr;

    private Date endTime;

    private Date closeTime;

    private Date createTime;

    private Date updateTime;
    private UserCar car;
    private SiteInfo siteInfo;
    private SiteServiceContent serviceContent;
}